package com.kgc.scd.service;

import com.kgc.scd.bean.ShopUser;
import com.kgc.scd.vo.ShopAddressVO;
import com.kgc.scd.vo.ShopUserVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

/**
 * Created On : 2022/11/16.
 * <p>
 * Author : 刘慧枫
 * <p>
 * Description: 修改用户信息接口
 */
public interface ModifyShopUserService {

    /**
     * @author : 刘慧枫
     * @date   : 2022/11/16
     * @param  : [shopUser]
     * @return : com.kgc.scd.bean.ShopUser
     * @description : 修改用户个人信息
     */
    ShopUserVO modShopUserInfo(Integer gender, Date birthday, String nickname,String headImg, ShopUser shopUser);

    /**
     * @author : 刘慧枫
     * @date   : 2022/11/17
     * @param  : [userOldPwd, userNewPwd, verifyUserNewPwd, shopUser]
     * @return : void
     * @description : 修改用户密码
     */
    String modShopUserPwd(@RequestParam String userOldPwd,String userNewPwd,String verifyUserNewPwd,ShopUser shopUser);

    /**
     * @author : 刘慧枫
     * @date   : 2022/11/17
     * @param  : [shopAddress, shopUser]
     * @return : com.kgc.scd.bean.ShopAddress
     * @description : 添加个人地址
     */
    ShopAddressVO addUserAddress(String name, String address, String mobile, Integer status, ShopUser shopUser);

}
